<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

function _alpha_space($field)
{
	return ( ! preg_match('/^([a-z ])+$/i', $field)) ? FALSE : TRUE;
}

function _alpha_space_dash_dot($field)
{
	return ( ! preg_match('/^([\.-a-z0-9_- ])+$/i', $field)) ? FALSE : TRUE;
}

function _integer($field)
{
	return ( ! preg_match('/^([0-9])+$/i', $field)) ? FALSE : TRUE;
}

function _alpha($field)
{
	return ( ! preg_match('/^([a-zA-Z])+$/i', $field)) ? FALSE : TRUE;
}

/* End of file validation_helper.php */
/* Location: ./application/helpers/validation_helper.php */
?>